<section class="container_6 clearfix" id="modalform">
<?php echo $form->create('Skill', array('action' => 'sedit/'.$sk['Skill']['id']));?>
<fieldset>
<legend>Edit Skill</legend>
<label>Skill Name</label><?php echo $form->input('Skill.name', array('label' => '', 'value' => $sk['Skill']['name'])); ?>
<label>Skill Description</label><?php echo $form->input('Skill.description', array('label' => '', 'value' => $sk['Skill']['description'], 'type'=> 'textarea')); ?>
<div class="action">
<?php echo $form->button('<span class="accept"></span>Save Skill', array('class' => 'button button-gray accept')); ?>
<?php echo $form->end(); ?>
</div>


</fieldset>
</section>
<div > 
<?php echo $form->button('<span class="bin"></span>Delete Skill', array('class' => 'button button-gray accept', 'onclick' => ' if(confirm(\'Are you sure you want to delete this skill?\')) location.href=\'' . $this->Html->url('/skills/sdelete/'.$sk['Skill']['id']) . '\'' , 'type' => 'button'))?>
</div>